package com.svm.bean;

public class PredicitionResult implements Comparable<PredicitionResult> {

	private SvmClass svmClass;
	private Double predicitionValue;

	public PredicitionResult(SvmClass svmClass, Double predicitionValue) {
		this.svmClass = svmClass;
		this.predicitionValue = predicitionValue;
	}

	public SvmClass getSvmClass() {
		return svmClass;
	}

	public void setSvmClass(SvmClass svmClass) {
		this.svmClass = svmClass;
	}

	public Double getPredicitionValue() {
		return predicitionValue;
	}

	public void setPredicitionValue(Double predicitionValue) {
		this.predicitionValue = predicitionValue;
	}

	@Override
	public int compareTo(PredicitionResult o) {
		return this.predicitionValue.compareTo(o.predicitionValue);
	}

}
